Reactive power compensator

ABSTRACT

A system and method for determining and providing reactive power compensation for an inductive load. A reactive power compensator (50,50&#39;) monitors the voltage and current flowing through each of three distribution lines (52a, 52b, 52c), which are supplying three-phase power to one or more inductive loads. Using signals indicative of the current on each of these lines when the voltage waveform on the line crosses zero, the reactive power compensator determines a reactive power compensator capacitance that must be connected to the lines to maintain a desired VAR level, power factor, or line voltage. Alternatively, an operator can manually select a specific capacitance for connection to each line, or the capacitance can be selected based on a time schedule. The reactive power compensator produces control signals, which are coupled through optical fibers (102/106) to a switch driver (110, 110&#39;) to select specific compensation capacitors (112) for connections to each line. The switch driver develops triggering signals that are supplied to a plurality of series-connected solid state switches (350), which control charge current in one direction in respect to ground for each compensation capacitor. During each cycle, current flows from ground to charge the capacitors as the voltage on the line begins to go negative from its positive peak value. The triggering signals are applied to gate the solid state switches into a conducting state when the potential on the lines and on the capacitors reaches a negative peak value, thereby minimizing both the potential difference and across the charge current through the switches when they begin to conduct. Any harmonic distortion on the potential and current carried by the lines is filtered out from the current and potential signals used by the reactive power compensator so that it does not affect the determination of the required reactive compensation.

This invention was made with government support under grant number DEAI79-87BP65584, awarded by the Department of Energy. The government hascertain rights in the invention.

This application is a continuation-in-part, of pending prior applicationSer. No. 07/543,118, filed on June 22, 1990, now abandoned. The benefitof the filing date of which is hereby claimed under 35 U.S.C. §120.

BACKGROUND OF THE INVENTION

A common problem on electrical power distribution systems supplyingpower to inductive loads is the need to provide reactive powercompensation. Large motors and other types of inductive loads used, forexample, in lumber mills, rock crushing plants, steel mills, and todrive elevators and pumps, shift the power factor of the system awayfrom the desired unity level, thereby decreasing the efficiency of thepower system. Compensation for the effects of inductive loads can beprovided to control line voltage, power factor, or volt-ampere-reactive(VAR) power. Such compensation generally takes the form of capacitorbanks that are connected to transmission and distribution lines. Whilean appropriate capacitive compensation can be determined and lefton-line to compensate continuously running inductive loads, mostinductive loads operate intermittently and cyclically, requiring thatthe correct compensation be selectively applied in response to a varyingreactive load on the system. Mechanical contactors are typicallyemployed to connect and switch the capacitor banks to compensatechanging inductive loads. However, mechanical contractors are known tointroduce undesirable transients each time that they operate to changethe reactive compensation. Furthermore, being mechanical devices,mechanical contractor must be maintained, rebuilt, or even replacedafter a limited number of operating

Other devices have been developed for controlling reactive power at thepoint of use, such as a power factor control system for induction motorsdeveloped by Frank J. Nola, which is described in U.S. Pat. No.4,266,177. Unfortunately, there are several problems with the Nolacontrol system that have prevented it from being widely used. Forexample, operational parameters of this type of device must be tailoredfor use with a specific inductive load. In addition, the Nola device cancontrol power factor over only a limited range restricted to lightloads, since the device will not work at full loads. Three Nola devicesare required to control the power factor of a three-phase inductiveload.

A reportedly transient-free, solid state automatic power factorcorrection apparatus is disclosed in U.S. Pat. No. 4,645,997. Thisapparatus is designed to automatically correct power factor in amulti-phase system, on the load side of a distribution transformer,e.g., to correct the power factor of an inductive load within a plant.It generates signals indicative of the voltage and current associatedwith each phase supplying power to the load. The current and voltagesignals for each phase are compared to each other to determine theextent of current lag, and a signal indicative of current lag isgenerated for each line. A microprocessor-controlled circuit convertsthese signals into a lagging phase angle in degrees and determines thecosine of the angle and thus, the power factor of the line. Themicroprocessor also controls a switching network that is capable ofselectively adding or removing banks of delta-connected capacitors to orfrom the power lines to control power factor. Onlytwo-silicon-controlled rectifiers (SCRs) comprise the switching networkfor each bank of capacitors. According to this patent, the SCRs canconnect the capacitor banks to the lines at any time, regardless of thevoltage on the capacitors, without creating current surges or electricaltransients. However, this device is intended to operate at relativelylow distribution transformer secondary voltage levels typically used ina plant, i.e., 480 volts or less, and it cannot accurately determine therequired reactive power compensation to control power factor if thereare significant harmonics of the fundamental 60 Hz line frequencypresent in the current or voltage, since such harmonic distortioninterferes with the measurement of the phase angle or lag time betweenvoltage and current. In addition, the system disclosed in U.S. Pat. No.4,645,997 lacks other features required for fully automated, unattendedoperation, such as the capability for remote control of the switchingnetwork and the ability to detect and compensate for malfunctions in thedevice. In any case, it is generally more effective for an electricutility to provide reactive power compensation on the lines of anelectric power distribution system rather than depending on the customerto correct each load. The device disclosed in this patent cannot be usedon distribution lines, because it cannot be controlled remotely, cannotoperate unattended, and cannot operate at the higher voltages typicallyused on distribution lines (up to 35 KV).

In U.S. Pat. No. 4,645,364, which is issued to Williams and two of theinventors of the present invention, a reactive power compensating systemis disclosed that is designed to directly compensate an inductive loadon multi-phase lines of a distribution system. The apparatus includesfixed capacitors that are always connected to each phase of the systemto provide a minimum reactive power compensation, and selectivelyswitched capacitors that are connected to each phase by a solid stateswitching network of SCR and diode pairs to provide any additionalcompensation required. The required reactive power compensation for allphases is determined in the device by sensing the current on only onephase at the time its voltage crosses zero.

The reactive power compensation system described in the Williams et al.patent is deficient in several important respects. Since only one phaseof a multi-phase distribution system is used to determine the requiredreactive power compensation for all of the phases, the system cannotproperly compensate for different inductive demands on each of thephases resulting, for example, from various single phase and multi-phaseinductive motors. Also, the determination of the required reactive powercompensation is susceptible to errors caused by harmonic distortion inthe line current and voltage--a problem that is specifically admitted inthe patent. In some situations, use of a fixed capacitance to provide aminimum required compensation may be inappropriate, since, if all of thesignificant inductive loads connected to the system are at timede-energized, the correct compensation may be much less than thatprovided by the fixed capacitance. Furthermore, fault tolerance andoperation of the switching network in the presence of voltage transientsand harmonics are not addressed in this reference.

In consideration of the above-noted problems that exist with the priorart systems used to compensate for inductive loads, it is an object ofthe present invention to provide an appropriate reactive powercompensation for each phase of a multi-phase system. It is desirablethat this reactive power compensator be selectively operable to maintaineither a specified power factor, voltage level, or VAR level as thereactive load changes, on a phase-by-phase basis. The reactive powercompensator should react in less than one cycle to changes in therequired power compensator should react in less than one cycle tochanges in the required reactive power compensation, by selectivelyconnecting the appropriate capacitance to provide that compensation,even in the presence of harmonic distortion in the voltage or current,without itself introducing any transients or distortion. Further, thereactive power compensator should be unaffected by variations in linefrequency, and should provide fault-tolerant operation. The ability tocontrol the reactive power compensator remotely is also desirable sothat it can be readily integrated into a centrally-controlled andautomated power distribution system. In addition, it is desirable thatthe device be selectively operable in a manual or automatic mode. Theseand other objects and advantages of the present invention will beapparent from the attached drawing and from the Description of thePreferred Embodiments that follows.

SUMMARY OF THE INVENTION

The present invention is a reactive power compensating system forcompensating a reactive load that draws power from different phases of asupply. The system includes a plurality of electrical current sensors,each of which is connected to sense a generally periodically varyingelectrical current supplied to the reactive load independently on eachof the phases, producing a current signal corresponding to theelectrical current. Similarly, a plurality of voltage sensors areincluded, each of which is connected to sense a generally periodicallyvarying voltage on one of the phases, producing a potential signalcorresponding to the voltage. Reactive power sensing means are connectedto receive the current signal and the potential signal for each phaseand are operative to determine a required reactive power compensationfor each phase, appropriate to separately compensate each phase for thereactive load connected thereto. Significantly, the required reactivepower compensation is accurately determined even if harmonic distortionexists in the current and/or voltage on the phase.

The reactive power compensation is provided by one or more of aplurality of capacitors. The plurality of capacitors are preferablyassembled in arrays, each of which is associated with one of the phases.Each of the capacitors in an array is selectively connectable to providethe reactive power compensation required by the phase associated withthat array. Switching means, which are electrically connected to theplurality of capacitors and to the reactive power sensing means,selectively connect the capacitors to provide the reactive powercompensation determined for each phase by the reactive power sensingmeans. The reactive power compensation provided for each phase can thusbe different.

Preferably, the reactive power sensing means comprise processor meansthat determine the reactive power compensation required for each phaseas a function of the current signal at a predetermined point in a cycleof the potential signal for the phase. The processor means also controlthe switching means, causing the switching means to provide the requiredreactive power compensation determined for each phase at a subsequenttime in the cycle of the potential signal. The reactive powercompensation required for each phase can be determined as often as twiceeach cycle of the potential signal, and the switching means areoperative to connect the capacitors required to provide the reactivepower compensation, which can be determined as often as twice eachcycle.

The processor means are selectively operable in a manual mode, anautomatic mode, and a time control mode. Furthermore, the processormeans are selectively operable to determine and control either a VARlevel, the voltage, or a power factor value on each phase. The reactivepower sensing means comprise filter means that are connected to receivethe current signal and the potential signal for each phase. Harmonics ofthe fundamental frequency on these signals are filtered out by thefilter means, respectively producing a filtered current signal and afiltered potential signal.

In one preferred form of the invention, the voltage sensor comprises aplurality of transformers having primary windings and secondarywindings, each of the primary windings being connected to receive apotential corresponding to the voltage on one of the phases. Thesecondary windings provide the potential signals for the phases so thata phasal relationship between the potential signals defines an intervalprior to the predetermined point in the cycle of the potential signalduring which the current signal is sampled. In another form of theinvention, the voltage sensor comprises a plurality of voltagetransformers, each connected to a different phase and operative toproduce the potential signal for that phase. The processor means arethen operative to determine the predetermined point in the potentialsignal and the subsequent time for control of the switching means as afunction of the potential signal.

The switching means comprise a plurality of solid state switchesconnected in a plurality of series strings. Each series string isactivated in response to a switching signal to connect one of thecapacitors to provide at least part of the reactive power compensationrequired for one of the phases. The reactive power sensing means providethe switching signal to the solid state switches when the potentialsignal for the phase is at a level such that substantially no electricalcurrent flows through the solid state switches at the instant they areactivated. The switching means preferably include oscillator means forproducing pulses at a frequency substantially higher than that of afundamental frequency of the voltage on the phases. The switching signalcomprises an envelope of the pulses at the higher frequency that isgenerated during a predetermined portion of the cycle occurring at aboutthe peak of the potential signal. The pulses repetitively turn on thesolid state switches so that distortion in the voltage on the line doesnot cause the solid state switches to turn off prematurely.

Feedback means are provided for sensing the reactive power compensationactually provided by the capacitors and for producing a feedback signalfor each capacitor, which indicates the reactive power compensation thatit is providing. These feedback signals are used by the reactive powersensing means to determine if the switching means have malfunctioned. Ifa malfunction is thus detected, an alternate configuration of capacitorsis effected to provide a best available reactive power compensation.Means are also provided to protect each of the phases against an overvoltage condition and against self-excitation by an inductive load, inrespect to the reactive power compensation provided by the system.

A method of compensating for a reactive load that draws power from amulti-phase supply is another aspect of this invention. The methodincludes steps generally consistent with the functions provided by theelements comprising the system described above.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a schematic block diagram of a first embodiment of thereactive power compensator;

FIG. 2 is an electrical schematic diagram showing a comparator circuitthat is typical of those used in an input comparator block of thereactive power compensator of FIG. 1;

FIG. 3 is an electrical schematic diagram of a logic debounce circuitthat is typical of two such circuits in the first embodiment;

FIG. 4A is an electrical schematic diagram of a timing logic circuitused in the first embodiment of the reactive power compensator;

FIG. 4B is a diagram illustrating the relationship between six voltagewaveforms that are used to produce timing signals in the firstembodiment;

FIG. 5 is an electrical schematic diagram of a TTL/MOS match andamplifier (TMMA) circuit;

FIG. 6 schematically illustrates an analog amplifier circuit used tobuffer and/or amplify signals in a signal-conditioning block of thepresent invention;

FIG. 7 is a graph showing several cycles of a potential signal and acycle of a distorted current signal, illustrating the effect of harmonicdistortion on the determination of the reactive power compensationrequired for each phase;

FIG. 8 is an electrical schematic diagram of a typical dual filtercircuit used to filter out harmonic distortion;

FIG. 9 is a graph illustrating harmonic distortion in the voltagewaveform on one phase;

FIG. 10 is an electrical schematic diagram of a window circuit used incontrolling connection of the reactive power compensation capacitance;

FIG. 11 is a schematic block diagram showing a first embodiment of aswitch driver;

FIG. 12 is an electrical schematic of a triggering bridge and pulsetransformer circuit used in the switch driver of FIG. 11;

FIG. 13 is a block diagram of a compensation capacitor array for onephase;

FIG. 14 is an electrical schematic diagram of a network of opticallytriggered switch drivers and solid state switches for one compensationcapacitor on one phase;

FIG. 15 is a graph illustrating control and data acquisition intervalsfor several cycles of the three-phase voltage waveforms;

FIG. 16A is a flow chart illustrating a main program loop;

FIG. 16B is a flow chart illustrating the control logic used by apersonal computer (PC) in determining and controlling the connection ofan appropriate reactive power compensation capacitance to each line of amulti-phase system;

FIG. 18C is a flow chart illustrating the details of the dataacquisition logic implemented in the main program of FIG. 16A;

FIGS. 17A, 17B, and 17C are electrical schematic block diagrams of asecond embodiment of the reactive power compensator for one phase (AΦ);

FIG. 18 is an electrical schematic diagram of the trigger and logiccircuit and optical driver and transmitter of the second embodimentshown in FIGS. 17A, 17B, and 17C;

FIG. 19 is an electrical schematic diagram of the watchdog timer circuitnoted in FIG. 17B;

FIG. 20A is a flow chart of the main program implemented by thecontroller of the second embodiment shown in FIG. 17B; and

FIG. 20B is a flow chart of the logic implemented by the controller indetermining and controlling the connection of the appropriate reactivepower compensation capacitance for one phase.

DESCRIPTION OF THE PREFERRED EMBODIMENTS PC Controlled Reactive PowerCompensator

Referring to FIG. 1, a first embodiment of the reactive powercompensator is shown generally at reference numeral 50. In theapplication of the present invention illustrated therein, reactive powercompensator 50 determines an appropriate compensation capacitor to applyto lines 52a, 52b, and 52c, which are connected to one or more inductiveloads (not shown). Lines 52 carry three-phase electrical current from aremote generator or other three-phase source (not shown). The voltage onlines 52 is monitored by corresponding voltage transformers (VTs) 54.Similarly, current transformers (CT's) 58 are used to monitor theelectrical current flowing from the source to each load through lines52. Reactive power compensator 50 separately monitors the voltage thecurrent on each phase and separately determines an appropriatecapacitance to compensate for the inductive load(s) connected to eachphase, which may differ between the phases. Compensation capacitors 112are electrically connected to each line 52 via lines 56. The capacitorscan selectively be connected to neutral or ground via solid stateswitching circuits 114 to provide reactive power compensation. Reactivepower compensator 50 can selectively be operated in a manual mode inwhich a local or remote operator determines the specific compensationcapacitors that are connected to provide compensation on lines 52, or itcan be operated in an automatic mode in which the reactive powercompensator determines the specific compensation capacitors that must beconnected to achieve a user-selected or predeterminedvolt-ampere-reactive (VAR) level on the line. Alternatively, reactivepower compensator 50 can selectively be used to automatically maintain apredetermined voltage, or a predetermined power factor (PF) on each line52, or can provide reactive power compensation or predetermined linevoltage based upon a time schedule.

The mode in which reactive compensator 50 operates is selectivelydetermined by the operator of the device by commands entered in a localpersonal computer (PC) controller 70. In addition, local PC controller70 can optionally monitor, record, and display data corresponding to theoutput signals from conventional watt, VAR, and power factor (PF)transducer within an instrumentation bank 78, which are carried on dataleads 79. These signals are not used for determining the reactive powercompensation, but can be provided by transducers that use the samevoltage and current signals required by the reactive power compensator.For example, as shown in FIG. 1, CTs 58a, 58b, and 58c, are connected tomonitor the electric current flowing in lines 52a, 52b, and 52c,respectively, producing secondary current signals on leads 60a, 60b, and60c, which are indicative of the actual current lines 52. Transducerinstrumentation bank 78 is connected to leads 60. Thus, secondarycurrent form CTs 58 flows through each transducer requiring a secondarycurrent signal indicative of electric current flowing in lines 52, andon into leads 61 for use in determining the required reactive powercompensation. Likewise, potential signals from voltage transformers 54are connected to transducer instrumentation bank 78. Signals from thesecurrent and voltage transformers are used by reactive power compensator50 for determining the appropriate reactive power compensation asdescribed below.

An optional remote PC controller 72 can be connected to local PCcontroller 70 by a communications link 74 to control reactive powercompensator 50 from the location where remote PC controller 72 isinstalled. For example, electric utilities often provide a centralcontrol facility for their distribution system from which an operatorcan monitor and control the equipment connected to the distributionlines. Remote PC controller 72 may thus comprise a relatively largecomputer that controls power switches and other devices.

Reactive power compensator 50 includes a synchronization block 62 inwhich timing signals are derived from the potential signals supplied byvoltage transformers 54 for us in controlling the reactive powercompensator. Signals indicative of the current and the potential onlines 52 are amplified and filtered in a conditioning block 64. Local PCcontroller 70 uses the timing signals and the signals indicative ofcurrent and potential on lines 52 to determine an appropriate reactivepower compensation for each line 52 and produces control signals thatare supplied to a plurality of triggering blocks 66. Triggering blocks66 respond to the control signals in developing triggering signals thatare input to a plurality of switching blocks 68 and cause an appropriatereactive power compensation capacitance to be connected to each line 52.Only one triggering block 66 and one switching block 68 are shown inFIG. 1.

Voltage transformers 54 include primary windings 54a, 54b, and 54c,respectively, each of which are connected between the corresponding line52a, 52b, and 52c and ground. These voltage transformers includesecondary windings 54a', 54b', and 54c', which are, respectively,connected to leads 76a, 76b, and 76c. A signal corresponding to thevoltage on each of lines 52 is thus supplied to transducerinstrumentation bank 78 and to Delta-Wye and Delta-Delta transformerbanks 80. At rated voltage on lines 52, the potential signal suppliedthrough leads 76 is nominally 120 V AC. Delta-Wye and Delta-Deltatransformer banks 80 comprise either two three-phase voltage transformerbanks or six voltage transformers connected in Delta-Wye and Delta-Deltaconfigurations, producing a relatively low voltage output signal (lessthan 20 V AC) that is conveyed over leads 81 to an input comparatorcircuit 82 and an analog amplifier circuit 90. The six potential signalsproduced by Delta-Wye and Delta-Delta transformer banks 80 respectivelycorrespond to the line-to-neutral periodic sinusoidal voltage waveformson A phase (line 52a), B phase (line 52b), and C phase (line 52c), andto the line-to-line voltages AB, BC, and CA.

FIG. 2 illustrates a comparator 118a that is used in the inputcomparator circuit 82. This circuit is typical of the six comparatorcircuits supplied potential signals from Delta-Wye and Delta-Deltatransformer banks 80. As shown in FIG. 2, an input potential signal onlead 81 is applied to two resistors 120 and 122, which are connected inseries by a conductor 121. Resistor 122 is connected to ground so thatthe two resistors divide the voltage of the input signal, producing alower level potential signal that is applied by conductor 121 to theinverting input of a comparator 124. The non-inverting input ofcomparator 124 is connected to ground through a lead 123 and thecomparator output is connected by a lead 125 to the anode of a diode 128and to one end of a resistor 126. The opposite end of resistor 126 isconnected to +5 V DC. A lead 129 is connected to the cathode of diode128 and is referenced to ground via a resistor 130. The sinusoidalpotential signal applied to the inverting input of comparator 124produces a corresponding square wave ranging between -5 volts and +5volts in amplitude. However, due to the +5 V DC level applied throughresistor 126 and diode 128, the output signal on lead 129 is a squarewave ranging between approximately 0 volts and +5 volts.

Referring back to FIG. 1, the six square wave signals produced by inputcomparator circuit 82 are conveyed through leads 83 to a logic debouncecircuit 84 that cleans up any jitter or noise present on their leadingand trailing edges, which can occur at each zero crossing of thepotential signal input to comparator 124. Details of a debounce circuit132, which is typical of the two such circuits comprising logic debouncecircuit 84, are shown in FIG. 3.

Turning now to FIG. 3, three leads 129a, 129b, and 129c, respectivelycarry square wave signals (possibly having noise on their leading andtrailing edges) that correspond to the voltage waveforms on A phase, Bphase, and C phase. Thus the square waves are at +5 V DC during thepositive half cycle of the voltage waveforms and at zero during thenegative half cycles. Lead 129a is connected to one of two inputs ofNAND gates 134a and 134b and to one of two inputs of OR gates 136a and136b. Similarly, lead 129b is connected to one input of NAND gates 134band 134c and to one input of OR gates 136b and 136c; and lead 129c isconnected to the other input of NAND gates 134a and 134c and to theother input of OR gates 136a and 136c. Debounce circuit 132 alsoincludes three D flip flops 138a, 138b, and 138c that have their D andclock inputs grounded. Each of NAND gates 134a, 134b, and 134c areconnected by leads 135a, 135b, and 135c to the inverted present input ofthe three D flip flops, respectively. Likewise, the outputs of OR gates136a, 136b, and 136c are connected to the inverted clear inputs of the Dflip flops via leads 137a, 137b, and 137c, respectively.

A logic level 0 applied to the inverted preset inputs of the D flipflops causes their Q output to have a logic level 1, and a logic level 0on the inverted clear input causes the Q output to have a logic level 0value. Elimination of any jitter present on the leading and trailingedges of the square wave signals carried on leads 129 occurs as follows.When the incoming square wave signal on lead 129a (A phase) first risesto a logic level 1 (at the leading edge of the square wave) the squarewave signal on lead 129c (C phase) will already be at a logic level 1. Alogic level 0 is thus output from NAND gate 134a and is applied to theinverted preset of D flip flop 138a, causing its Q output to lock at alogic level 1 and its Q output to lock at a logic level 0. The squarewave signal on lead 129c (C phase) then drops to a logic level 0. Thefirst time that the square wave signal on lead 129a drops to zero (thetrailing edge of the square wave signal) OR gate 136a will produce alogic level 0 output, causing the Q output of D flip flop 138a to lockat logic level 0. D flip flops 138b and 138c operate in a similar mannerto provide clean digital signals (square wave signals) corresponding toone half period of the potential signal on B phase and C phase,respectively. Although not shown in FIG. 3, a second debounce circuit ofidentical design is used to eliminate jitter at the leading and trailingedges of the square wave signals corresponding to AB, BC, and CApotential signals.

The Q and Q logic level signals output from logic debounce circuits 84are conveyed through leads 140 and 141 (collectively, leads 85) to atiming waveform logic circuit 86 (see FIG. 1), which is shown in detailin FIG. 4A. Timing waveform logic circuit 86 includes 15 NAND gates 148athrough 148o, each of which have to inputs that are connected to leads140 and 141 on which are respectively conveyed the Q and Q square wavesignals output from logic debounce circuit 84. Specifically, the signalon lead 140a is connected to one input of NAND gate 148e, 148g, and148l. The Q, or inverted, version of this signal is conveyed on a lead141a to one input of NAND gate 148m. The signal for B phase (the Qoutput) is conveyed by a lead 140b to one input of NAND gates 148d,148f, 148h, and 148j. The inverted form of this signal is conveyed by alead 141b to NAND gate 148n. For C phase, the signal on lead 140c isconnected to NAND gates 148d, 148i, and 148k. The inverted form of thissignal is conveyed by a lead 141c to NAND gate 148o. For AB phases, alead 140d conveys the signal from the debounce circuit to NAND gates148a, 148h, and 148m. The corresponding inverted signal is conveyed by alead 141d to NAND gate 148l. The signal on lead 140e for BC phases isinput to NAND gates 148b, 148i, and 148n. The inverted form of thissignal is applied via a lead 141e to NAND gate 148j. A lead 140f conveysthe signal for CA phase to NAND gates 148a, 148c, 148g, and 148o. Theinverted form of this signal is applied through a lead 141f to NAND gate148k.

Leads 150a through 150o carry the signals output from NAND gates 148athrough 148o, respectively. As illustrated in FIG. 4B, these signalscomprise logic levels that change from low to high during intervals thatextend over integral numbers of 30° increments, e.g., for 30°, 60°, 90°,etc., of a 60 Hz waveform. In FIG. 4B, the normalized voltage waveformscorresponding to the six potential signals are shown in respect to theinverted logic level for the signals on leads 150a through 150o. Ratherthan showing the actual form of these signals on leads 150, FIG. 4Billustrates the signals after they go through an additional stage ofinversion, which occurs in a TMMA circuit 88 (FIG. 1). These signals areused for timing, e.g., to define time intervals around the zero crossingfor each of the three-phase voltage waveforms and around the negativepeak of those waveforms. For example, the timing signals shown in thefirst three lines of FIG. 4B define a 60° interval centered about thepoint at which the voltage waveform for each of the three phase crosseszero. The period occurring 30° prior to the zero crossing for A phase isidentified as "I_(am1) " and the 30° interval that immediately followsis identified as "I_(am2)." In this notation, the "I" refers to current,"a" refers to A phase, and "m1" and "m2" respectively refer to the firstand second periods associated with multiplexed current measurementspreceding and following the voltage waveform zero crossover point.

The timing signals on leads 150d, 150e, and 150f define 60° intervalscentered around the negative peaks of each of the voltage waveforms forthe A, B, and C phases. The notation identifies these three signals asmultiplexed measurements of voltage occurring in a first and secondinterval centered about the negative peak of each of the illustratedthree-phase voltage waveforms. For example, the signal on lead 150d isreferred to as "V_(am1) +V_(am2') " the "V" identifying a voltagemeasurement; the other terms in the notation have already beenexplained.

The signals on leads 150g, 150h, and 150i represent 30° intervalsoccurring immediately before the negative peak for the three-phasevoltage waveforms B, C, and A, respectively. These timing signals arereferred to by notation indicating that they are used to controlsampling of the voltage on each phase. Similarly, the signal on leads150m, 150n, and 150o identify 30° time intervals occurring 30° beforeeach of the zero voltage crossovers for A, B, and C phases,respectively. The notation used with each of these three signalsindicates that they are used in connection with sampling current on eachof the three phases. For example, the signal on lead 150m is identifiedwith the notation "I_(as') " wherein "I" indicates a currentmeasurement, "a" indicates A phase, and "s" indicates a sample and holdtiming signal.

The signals on leads 150 (collectively shown in FIG. 1 as leads 87) areinput to TMMA circuit 88, details of which are shown in FIG. 5. TMMAcircuit 88 includes eight comparators 152a through 152h. Leads 150athrough 150f are connected to the inverting input of comparators 152athrough 152f, respectively. The non-inverting input of each of thesecomparators is connected by a lead 164 to the common node between twoseries-connected, equal value resistors 160 and 162. Resistors 160 and162 are connected between +5 V DC and ground so that their common nodeto which lead 164 is attached is at a potential of approximately 2.5 VDC.

Leads 150g through 150i are connected to the three inputs of a NAND gate154, the output of which is connected to the non-inverting input of acomparator 152g through a lead 156. Similarly, leads 150m through 150oare connected to the three inputs of a NAND gate 158 that has an outputconnected to the non-inverting input of a comparator 152h. The invertinginputs of comparators 152g and 152h are connected to the 2.5 V DCpotential on lead 164.

The outputs of comparators 152a through 152h connect to leads 166athrough 166h, respectively, and are thus connected to one end of pull-upresistors 168a through 168h, the opposite ends of which connect to +5 VDC. Accordingly, comparators 152a through 152h convert the logic levelsignals at their inputs, which range between 0 and 5 V DC, to signalsthat range between -5 and +5 V DC. Since NAND gate 154 and NAND gate 158invert the logic sense of the timing signals respectively applied totheir inputs, the output of these NAND gates are connected to thenon-inverting input of comparators 152g and 152h for comparison against2.5 V DC. The signals output from comparators 152g and 152h are suppliedon leads 166g and 166h to a sample and hold circuit 96. As shown in FIG.1, leads 166 comprise leads 89.

The timing signal output on lead 166g includes three 30° pulses used tocontrol the sample and hold of potential signals for the three phases,i.e., to determine when to hold a value corresponding to the negativepeak voltage on each of the three phases A, B, and C. Similarly, thethree pulses comprising the timing signal output from comparator 152h onlead 166h is used to determine the time at which current is to bemeasured for each of the three phases, where that time corresponds tothe zero crossing of the corresponding potential waveform for each line52. The signals on leads 166a through 166f are input to a multiplexer 94(see FIG. 1) over leads 89 to control the selection of signalsindicative of current and potential on each of the three phases A, B,and C, so that the appropriate signal is output from multiplexer 94 tosample and hold circuit 96 via leads 95. The timing signals applied tomultiplexer 94 from TMMA circuit 88 cause the selected potential orcurrent signal from the multiplexer's input signals to be output fromthe multiplexer over leads 95 starting 30° before the negative peakvoltage occurs, and 30° before the zero voltage crossing of the voltagewaveform, respectively. Thus, the appropriate multiplexed potential orcurrent signal is applied to sample and hold circuit 96 well ahead ofthe point in time at which a value sampled is to be held and supplied tolocal PC controller 70 over a lead 97. Details of the multiplexer and ofthe sample and hold circuit are not shown, since they are generallyconventional and are well known to those of ordinary skill in this art.

Before the signals indicative of current and voltage on each of thethree phases (lines 52) are supplied to multiplexer 94 and then tosample and hold circuit 96, as shown in FIG. 1, these signals first passthrough analog amplifier circuit 90. Signals from the analog amplifiercircuit are conveyed via leads 91 to a dynamic filter 92, which filtersout harmonic distortion.

Details of analog amplifier circuit 90 are shown in FIG. 6. Thesecondary currents from current transformers 58a, 58b, and 58c flowthrough leads 61a, 61b, and 61c, respectively, to shunt resistors 171a,171b, and 171c. These shunt resistors are relatively low-valuedresistors that are connected to ground. The potential developed acrossthe shunt resistors is conveyed through input resistors 170a, 170b, and170c, respectively, to the inverting input of operations amplifiers (OPamps) 172a, 172b, and 172c; the non-inverting inputs of these OP ampsare connected through resistors 178a, 178b, and 178c to ground. Feedbackresistors 176a, 176b, and 176c determine the gain of OP amps 172athrough 172c (in respect to the resistance of input resistors 170), Opamps 172 thus produce amplified current signals corresponding to theelectrical currents on each of A, B, and C phases (lines 52), and thesecurrent signals are carried on leads 174a, 174b, and 174c.

Similarly, leads 117a, 117b, and 117c each conduct a feedback signalindicative of the charge current for the compensation capacitors 112connected to the three phases, which represents the reactive powercompensation actually being provided to each phase. These feedbacksignals are applied across shunt resistors 181a, 181b, and 181c,respectively. The potential developed across these three shunt resistorsare applied to the inverting input of OP amps 182a, 182b, and 182cthrough input resistors 180a, 180b, and 180c, respectively. Thenon-inverting inputs of OP amps 182 are connected to ground throughresistors 188a, 188b, and 188c. Feedback resistors 186a, 186b, and 186cprovide a desired gain. The amplified feedback signals from OP amps 182are carried on leads 184a, 184b, and 184c.

The three signals indicative of the voltage on A, B, and C phasesdeveloped by voltage transformer secondary windings 54a', 54b', and54c', are supplied through leads 81a, 81b, and 81c to the non-invertinginputs of OP amps 192a, 192b, and 192c through input resistors 190a,190b, and 190c. The non-inverting inputs of the OP amps are referencedto ground through resistors 194a, 194b, and 194c. Feedback resistors198a, 198b, and 198c connect output leads 196a, 196b, and 196c of theseOP amps back to their inverting input. OP amps 192 are thus configuredto buffer the potential signals developed by the three voltagetransformers connected to the distribution lines. Leads 174, 184, and196 collectively comprise leads 91, which convey the buffered potentialsignals to dynamic filter 92.

In determining the required reactive power compensation, or power factorfor each phase, the current flowing through each of lines 52 is measuredwhen the potential on that line crosses zero. Any harmonic distortion inthe current flowing in each of the lines 52 is reflected in the currentsignals, which are output from amplifier circuit 90. Such distortion canintroduce an error in the determination of the required reactive powercompensation or power factor for each phase as shown in FIG. 7. In thisFigure, the potential and current for a single phase are shown. As willbe apparent from this illustration, the instantaneous value of currentin the distorted waveform when the potential waveform crosses zero canbe substantially greater or less than the actual value for current atthe fundamental frequency, which is represented by a dashed line in thisFigure. Distortion of the potential signal indicative of voltage on eachphase can have a similar effect on accuracy. Accordingly, it isimportant to filter the signals indicative of current and potential oneach phase to eliminate the effect of harmonic distortion, so that therequired reactive power compensation can be accurately determined.

FIG. 8 illustrates part of the circuit used in dynamic filter 92 tosubstantially eliminate any harmonic distortion on the current andpotential signals output from amplifier circuit 90. The signalsindicative of current flowing on A phase and B phase are conveyed vialeads 174a and 174b, respectively, which are connected to inputresistors 200a and 200b. These two resistors are connected to the twoinputs of a dual bandpass filter 212, which is one of five such filtersused in the dynamic filter. The other dual bandpass filters areconfigured generally as shown in FIG. 8 and are used to filter theremaining current and potential signals for each phase.

In the preferred embodiment, a Motorola™ type MF10CCN switched capacitorfilter integrated circuit is used for dual bandpass filter 212; however,other filter circuits could be used for this purpose. The "Q" and othercharacteristics of each section of dual bandpass filter 212 aredetermined by resistor networks comprising resistors 201a/204b and204c/204d. One end of resistors 204a and 204b is connected to one sideof resistor 200a via a lead 202a, and their opposite ends are connectedto the first section of dual bandpass filter 212. Resistors 204c and204d are similarly connected to resistor 200b via lead 202b and to thesecond filter section. Switched capacitance filters, such as dualbandpass filter 212, require that a reference signal be supplied havinga frequency equal to 100 times the center frequency of the pass band.Each section of the dual bandpass filter is therefore provided with a 6kHz reference frequency signal over a lead 208, preferably from aphase-locked loop circuit 206. The phase-locked loop circuit issynchronized to the 60 Hz line frequency of lines 52 and thus tracksline frequency fluctuations on the lines.

The filtered output signals from dual bandpass filter 212 are input tomultiplexer 94 over leads 210a and 210b; collectively, all of the outputsignals from dynamic filter 92 are input to multiplexer 94 over leads93. Due to the use of dynamic filter 92, reactive power compensator 50is substantially unaffected by harmonic distortion present on thecurrent and potential on lines 52, and therefore, can more accuratelydetermine the reactive power compensation required on each phase and bymonitoring the filtered feedback signals, can determine if thecompensation capacitors 112 are operating properly to provide theexpected compensation.

The timing signals supplied multiplexer 94 from TMMA circuit 88 overleads 89 causes the multiplexer to select one of the filtered currentand potential signals at its input for sampling 30° before that signalis to be sampled and held by sample and hold circuit 96. In addition,the timing signals applied to sample and hold circuit 96, also overleads 89, define the time at which the selected multiplexed signaloutput by multiplexer 94 is sampled and supplied to local PC controller70 over leads 97. The local PC controller includes a plug-in card (notshown) that performs an 8-bit analog-to-digital (AD) conversion of eachsignal supplied by sample and hold circuit 06, enabling a local PCcontroller to compute the required reactive power compensation for eachphase, based upon the magnitude of the line current at the time thepotential signal on that phase crosses zero. Since timing signals forthis operation are all supplied by TMMA circuit 88, local PC controller70 need only determine the appropriate compensation capacitor(s) thatmust be connected to each of the respective lines 52 to provide thecomputed compensation and supply the control signals that effectconnection of those selected compensation capacitors to the lines.

Compensation capacitors 112 are only connected to compensate one oflines 52 when the potential on the line reaches a peak value. Thecontrol signals for selecting specific compensation capacitors that areconnected at this time are supplied by local PC controller 70 over leads101 to an optical transmitter 100, which comprises part of triggeringblock 66. The timing signals that determine when the compensationcapacitors selected by local PC controller 70 are connected to each ofthe lines 52 (preferably at the negative peak voltages so that initialcurrent flow through switch circuits 114 is zero as the switch circuitsare first turned on) are supplied to optical transmitter 100 by thetiming waveform logic circuit 86 over leads 87.

Connection of each of the compensation capacitors 112 to lines 52 iseffected as described below, using switch circuit 114, which comprisespairs of silicon-controlled rectifiers (SCRs) and diodes, as shownschematically in FIG. 1. Once gated into condition, the SCRs continue tocarry charge current to the capacitor so long as the direction ofcurrent flow through the SCRs does not change. However, transient and/orharmonic distortion in the voltage on each of lines 52 can cause theSCRs to briefly conduct charge current to the compensation capacitors,but to prematurely stop conducting in response to a reverse bias voltageacross the SCRs due to system voltage harmonics. This condition isillustrated in FIG. 9. As the distorted potential signal reaches thenominal negative peak, the SCRs are gated on to enable the flow ofcharge current in respect to a compensation capacitor 112; however, whenthe potential decreases from its nominal peak value, the SCRs turn off,prematurely disconnecting the compensation capacitor prematurely fromthe line. To prevent this condition, a window circuit 98 is included intriggering block 66 for each phase, as shown in FIG. 1. Window circuit98 receives an inverted and filtered potential signal indicative of thevoltage on one of the phases from dynamic filter 92 through lead 93.Using this potential signal, a "window pulse" signal is produced thatinsures proper operation of switch circuits 114. (The output of windowcircuit 98 comprises a pulse that is 30° in width and is referred to asa window pulse signal.) The window pulse signal starts just before thenegative peak voltages on lines 52.

The components of window circuit 98 for one of the phases are shown inFIG. 10. At the input of the window circuit, lead 93 is connected to theanode of a diode 213, to one side of a potentiometer 219, and to aresistor 222. The signal on lead 93 is half wave rectified by diode 213,and the cathode of the diode is referenced to ground through resistors214 and 216. These resistors serve to divide the rectified voltage to anintermediate level, which is applied through a lead 215 to the invertinginput of a comparator 217. A capacitor 220, which is connected betweenlead 215 and ground, filters the rectified signal, yielding a positiveDC level that is compared to the sinusoidal voltage set by the wiper ofpotentiometer 219 and applied to the non-inverting input of thecomparator through a lead 218.

Resistor 222 is connected to a 90° phase shift circuit 223 thatcomprises two capacitors 223b and 233c, which are connected at each endof a resistor 223a to ground. The 90° phase shifted sinusoidal waveformoutput from phase shift circuit 223 is applied to the non-invertinginput of a comparator 224; the inverting input is connected to the wiperof a potentiometer 225, which is connected between the +5 V DC and -5 VDC supplies (not shown). The potentiometer wiper provides an adjustablereference voltage, to control a square wave signal on the output ofcomparator 224. A lead 221 connects the output signals from comparators217 and 224 together, so that they are summed, producing a logical ANDsignal that is applied to an output buffer 227. This summed signal isconnected to +5 V DC by a resistor 226. Potentiometer 219 is adjusted tovary the width of the square wave signal output from comparator 217;potentiometer 225 is adjusted to vary the start point for thephase-shifted square wave and thus the width of signal produced bycombining the output of comparators 224 and 217. Accordingly, a 30°window signal is achieved and supplied to output buffer 227. The outputbuffer comprises a comparator 227a having its output connected to +5volts through two series-connected resistors 227b and 227c. The voltagedivision provided by these two resistors serves to convert the 30°window pulse from a signal that varies between -5 volts and +5 volts toa signal that varies from 0 to +5 volts. The 30° window pulse is outputon a lead 99, which is connected to the common node of resistors 227band 227c.

Optical transmitter 100 comprises a plurality of light emitting diodes(not shown) that respond to control signals from local PC controller toproduce light signals used for selecting the specific reactive powercompensating capacitors that are to be connected to each phase. Theselight signals are produced by combining the timing signal provided bytiming waveform logic circuit 86 over leads 87, for each phase with thecontrol signals from local PC controller 70 over leads 101 and with the30° window pulse signal from window circuit 98 over leads 99 in an ANDgate (not shown). Optical fibers 102 carrying the light signals providecomplete electrical isolation from high line voltage that could destroythe components of reactive power compensator 50 that are electricallyconnected to optical transmitter 100.

In the event that the length of optical fibers 102 required to transmitlight signals to switching block 68 causes excessive attenuation of thelight signals propagated therethrough, an optional buffer amp (notshown) can be provided to amplify the intensity of the light signals,producing corresponding light signals at its output that are conveyedthrough the optical fibers 102 to switch driver 110 in switching block68, as shown in FIG. 1. Typically, the buffer amp is not required ifoptical fibers 102 are less than a few hundred feet in length.

FIG. 11 shows only a portion of switch driver 110 used to develop thesignals for switching a single compensation capacitor 112. The circuitillustrated in FIG. 11 is typical of other such circuits comprisingreactive power compensator 50, each of which is used for one of thecompensation capacitors provided for connection to each line 52. Notshown in FIG. 11 are the light sensors included within optical receiver104 that convert the light signals propagating throughout optical fibers102 into corresponding electrical pulses. The light pulse conveyed byone of optical fibers 102 is converted to a corresponding electricalpulse by a light sensor in optical receiver 104, and this electricalpulse is input to an AND gate 228, the other input of which is connectedto receive 10 kHz pulses produced by 10 kHz generator 108 and conveyedover leads 109. AND gate 228 carries out a logical AND operation tocombine these two input signals, producing a 30° window of 10 kHz pulseson its output lead 229, which is connected to a triggering bridge andpulse transformer 230.

Triggering bridge and pulse transformer circuit 230 produces ntriggering signals that are conveyed over leads 111₁ through leads111_(n) to a corresponding number of rectifier circuit 232, i.e., torectifier circuits 232₁ through 232_(n). The number of triggeringsignals and rectifier circuits needed depends upon the number of SCRswhich are required to selectively connect and disconnect eachcompensation capacitor 112 to provide reactive power compensation forone of lines 52, which in turn depends on the voltage on those lines.Rectifier circuits 232 block the negative portion of the 10 kHz pulsescontained in the 30° window output from triggering bridge and pulsetransformer 230, producing a 30° window that contains only positive 5kHz triggering pulses on leads 111.

Details of triggering bridge and pulse transformer 230 are shown in FIG.12. Output lead 229, which is carrying the 30° window of 20 kHz pulses,is connected on both sides of the triggering bridge and pulsetransformer circuit, specifically to resistors 234a and 234b. Theseresistors are connected to the gate of two field effect transistors(FETs) 236a and 236b. The drains of each of the FETS 236 are connectedto ground via lead 238. The anode of a diode 240 is also connected toground and its cathode is connected through a lead 242 to the collectorof a PNP transistor 244, which has an emitter connected to 170 V DC viaa lead 246. The 170 V DC is also connected to the source of FET 236athrough a resistor 248 and a resistor 250. These two resistors areconnected in series and their common node is connected to the base ofPNP transistor 244. In addition, the 170 V DC is connected to thecathode of a diode 252, the anode of which is connected to the source ofFET 236b. A lead 254 connects the source of FET 236b to one end of aprimary winding 258 of a pulse transformer 256. The other end of thepulse transformer is connected to lead 242, and thus to the collector ofPNP transistor 244 and the cathode of diode 240. A plurality ofsecondary windings 260₁ through 260_(n) are connected between leads 261₁/262₁ through 261_(n) /262_(n), respectively. Each pair of these leadscomprises one of the leads 111 thus carries an envelope of 10 kHz pulseswithin a 30° window that are used to selectively connect one of thecompensation capacitors 112 to provide compensation for one of lines 52.If transient or harmonic distortion in the voltage waveform reversebiases the SCRs, prematurely stopping current flow charging compensationcapacitor 112, a successive 10 kHz pulse in the envelope immediatelyretriggers the SCRs so that charge current again flows.

Operation of triggering bridge and pulse transformer 230 is relativelystraightforward. The 10 kHz pulses in the 30° window, which are appliedto the gates of FETs 236a and 236b cause the FETs to conduct current.Current flow through resistors 248 and 250 produces a bias signal on thebase of PNP transistor 244, causing it to conduct. Current thus flowsfrom the 170 V DC through PNP transistor 244 and through primary winding258 of pulse transformer 256, continuing on to ground through FET 236b.The resulting 10 kHz pulsating current flow through the primary windingof the pulse transformer causes a corresponding current in its secondarywindings 260₁ through 260_(n). Each time that FETs 236a and 236b turnoff, diodes 240 and 252 dissipate residual inductive current flowingwithin primary winding 258.

FIG. 13 illustrates the configuration in which an array of compensationcapacitors 112₁ through 112_(n) is applied to A phase, line 52a. Aspecific one of these compensation capacitors 112 is selectivelyconnected to provide reactive power compensation when SCRs 270₁ through270_(n) associated with the compensation capacitor are energized toconnect that capacitor to ground. Compensation capacitors 112 areelectrically connected to lines 52, but do not provide reactivecompensation until the SCRs 270 associated therewith in each selectablecompensation block 113 are selectively gated into conduction each cycle,providing a current path to the capacitors in respect to ground (onneutral). As shown in this Figure, one switch driver 110 is connected toeach of the series connected SCRs 270 associated with one compensationcapacitor 112 and selectively provide the gate current required to turnon each SCR so that the compensation capacitor can charge and providecompensation.

It may be helpful to follow one cycle of the voltage waveform on line52a to understand how SCRs 270 control the compensation provided bycompensation capacitor 112. Starting with the voltage on line 52a at itspeak positive value, diodes 274 become forward biased as the voltagebeings to go negative. Current flows from ground through diodes 274,charging compensation capacitors 112 to the negative peak value of thevoltage on line 52a. The charge remains trapped on the capacitor unlessit is connected to provide compensation during this cycle. However, if,for example, compensation capacitor 112₁ is needed to providecompensation during this cycle, triggering signals are applied to theSCRs 270 associated with compensation capacitor 112₁ as the voltagepasses through the negative peak. Diodes 274 then become reverse biasedand stop conducting, but the SCRs 270 associated with compensationcapacitor 112₁ are gated into conduction. These SCRs continue to conductuntil the voltage on line 52a reaches its positive peak, at which pointthe current through the SCRs goes to zero and they stop conducting.

Compensation capacitors 112 for each phase can all be of nominally equalcapacitance, the compensation provided by one such device being at leastthe minimum required to compensate for the smallest expected inductiveload that will be connected to one of the distribution lines 52.However, it may be preferable to use a different nominal capacitancevalue for each of the compensation capacitors 112₁ through 112_(n) inthe array for each phase, for example, providing a binary configurationwherein their capacitance values are power of two integer multiples ofsome minimum value, i.e., the sequence 1, 2, 4, 8, etc. Such choiceswill be determined by the particular application of reactive powercompensator 50 and can readily be accommodated by modifying the programrun on local PC controller 70.

A surge arrestor 280 is connected to line 52a through a lead 281 and isconnected to ground by a lead 282. Surge arrestor 280 is designed toconduct in the event that the voltage on line 52 substantially exceedsthe rated voltage of the line. For example, for a 15 KV line, surgearrestor 280 would typically be designed to limit the voltage on line52a to a maximum of 30 KV, thereby protecting against surges caused, forexample, by lightning strikes.

Switching blocks 68 are generally similar for each compensationcapacitor 112, as will be apparent from FIG. 13. A lead 56a₁ connectscompensation capacitor112₁ to line 52a through an inductor 278₁.Similarly, a line 56a₂ connects compensation capacitor 112₂ to line 52athrough inductor 278₂, and likewise, each compensation capacitor 112_(n)in the array is connected to line 52a through inductor 278_(n).Associated with each SCR 270 and connected in parallel by a lead 272 area resistor 276 and a diode 274. In addition, a snubber circuitcomprising a resistor 286 in series with a capacitor 284 is connected inparallel with the entire string of SCRs 270₁ through 270_(n) for eachcompensation capacitor. Resistor 286 and capacitor 284 protect theseries string of SCRs 270 by insuring that the rated voltage rise(dv/dt) and peak voltage are not exceeded. Inductor 278 is selected tolimit the current rise di/dt and maximum forward current to the ratedvalues for each of the SCRs 270. Damping provided by resistor 286,capacitor 284, and inductor 278 limits the overshoot and peak voltageacross the SCRs.

An example may help to clarify how these components are selected for thesnubber circuit. An 8.4 microFarad capacitor 112₁ is used to provide 200KVAR of compensation in a 15 KV system. Since capacitor 112₁ can beselectively switched to provide reactive power compensation during eachcycle of operation, the string of SCRs 270 must be capable of carrying atotal of 24 amps RSM steady state current. Recalling that SCRs 270 arepreferably gated to connect capacitor 112₁ to line 52_(a) only at thenegative peak of the voltage, the string of SCRs 270 and theirassociated resistors 276 and diodes 274 must be capable of blocking 24.5KV, and SCRs 270 and diodes 274 must be capable of carrying at least 24amps RMS current. Each SCR 270 and diode 274 typically has a voltagerating of 1.6 KV blocking and a DC current rating of 50 amps. A safetyfactor is provided by including a sufficient number of SCRs (i.e., 22)so that the peak rating for n such SCRs is 35.2 KV peak blocking and 35amps RMS continuous current.

For this example, inductor 278₁ is selected to provide one mH ofinductance, at a maximum rated voltage of 30 KV. This selection is basedupon the following assumptions: (1) the power line is a voltage sourcewith zero source resistance and 4 mH of inductance, (2) the system isunderdamped, and (3) the largest excitation is a 28 microsecond pulse of30 KV (due to the limitation of surge arrestor 280). Accordingly, thepeak current rise di/dt (including the source inductance) is 6 amps permicrosecond. For this example, resistor 286₁ should have a resistance of500 ohms, and capacitor 284₁ should comprise a pair of 0.02 microFarad10 KV capacitors connected in series.

It should be noted that diodes 274 can be replaced with SCRs (not shown)having their cathodes connected in reverse bias relative to those ofSCRs 270. An appropriate modification to switch driver 110 can providetrigger signals for these additional SCRs to gate them into a conductingstate at the positive peak of the potential waveforms on each of lines52. This modification enable compensation capacitors 112 to beselectively connected to lines 52 at the peak positive and/or peaknegative potential on those lines. Thus, for each phase, the requiredreactive power compensation can be determined as often as twice eachcycle, and the appropriate compensation capacitors 112 connected tolines 52 twice each cycle.

If reactive power compensator 50 is used to provide compensation at thecurrent and voltage levels set forth in the above example, pulsetransformers 230 must be provided with adequate dielectric insulation toprevent short circuit flashovers. In addition, switch circuits 114 mustbe properly cooled to prevent the maximum rated junction temperature ofSCRs 270 and of diodes 274 from being exceeded. Immersion of pulsetransformers 230 and switch circuits 114 in a transformer oil bath (notshown) satisfies both of these requirements. The SCR_(s) and diodes canalso be provided with cooling finds (not shown) to improve heat transferbetween these solids state device and the oil. Thermal convectivecurrents in the oil further improves cooling efficiency. The oil alsoserves as a dielectric medium that insulates the windings of pulsetransformers 230, preventing short circuiting and arcing that wouldotherwise occur if the reactive power compensator is used on relativelyhigh voltage lines, e.g., rated for 15 KV. For use at much lowervoltages and compensation currents, it is possible that corrective orforced air cooling would be adequate, and that the pulse transformerinsulation would prevent arcing.

Optically Triggered Switch

Triggering bridge and pulse transformer 230, as described above, is usedin switch driver 110 to produce triggering pulses that selectively gatethe SCRs in switch circuit 114 to connect a specific compensationcapacitor 112 to one of the lines 52. An optically triggered switchdriver 110' can instead be used for this purpose. One such switch driver110₁ ', for one compensation capacitor 112₁ on A phase is showngenerally at reference numeral 110' in FIG. 14. Optically triggeredswitch driver 110₁ ' includes a plurality of optical trigger circuits288 connected in series, each of which control two solid state switches350a and 350b. A plurality, n, of these solid state switches connectedin a series string can be selectively energized to connect compensationcapacitor 112₁ to ground, thereby providing its compensation to line52a. The voltage on line 52 determines the number of solid stateswitches 350 that must be used. To minimize the differential voltageacross solid state switches 350, they are gated on only when the voltageon the line is at its peak negative value, such that when initiallygated on, substantially a zero charge current flows through the solidstate switches.

In the circuit shown in FIG. 14, the voltage on line 52a is nominally 5KV so that four pair of solid state switches 350a and 350b are required.Four optical trigger circuits 288 are used to control the solid stateswitches. As in switch driver 110, each solid state switch 350a (350b)comprises an SCR 360a (360b) connected in parallel with a diode 362a(362b). The four pairs of solid state switches 350 are connected inseries between capacitor 112₁ and ground, and each pair of solid stateswitches 350 is protected against excessive peak voltage by a separatesnubber circuit 368, as explained below.

A key element of optically triggered switch driver 110' is a triggercapacitor 340, which is connected in parallel with compensationcapacitor 112₁. Inductor 278 is connected to both of these capacitors bya lead 348. In addition, a discharge resistor 342 is provided inparallel with trigger capacitor 340, but is partly isolated fromcompensation capacitor 112₁ by a diode 344, which has its cathodeconnected to compensation capacitor 112₁ by a lead 346 and its anodeconnected to lead 348 via resistor 342. The purpose of trigger capacitor340 is explained below.

During the negative half cycle of the potential signal on line 52a,current flows from ground to charge trigger capacitor 340, entering eachtrigger circuit 288 on a lead 338' and then on a lead 290, which isconnected to the anode of a diode 292 and a resistor 294. Diode 292 andresistor 284 are arranged in parallel; the cathode of diode 292 isconnected by a lead 296 to several components, including an energyreservoir capacitor 324, the collector of an NPN transistor 322, theanode of a light emitting diode 298, the collector of a phototransistor300, the cathode of a diode 302, and a primary winding 304b of a pulsetransformer 306. A lead 308 connects primary winding 304b with one endof another primary winding 304a. The opposite end of primary winding304a is connected to the cathode of a zener diode 310 and to thecollector of an NPN transistor 312. A lead 314 connects the emitter ofNPN transistor 312 to a resistor 316, the opposite side of whichconnects to the emitter of phototransistor 300 and to the base of NPNtransistor 312 through a lead 319. In addition, lead 314 connects to aresistor 318, the opposite end of which is connected to the anode of azener diode 320. The cathode of zener diode 320 is connected to thecathode of LED 298 and its anode is connected to the base of NPNtransistor 322. The emitter of NPN transistor 322 connects to lead 324,so that its emitter and collector are in parallel with energy reservoircapacitor 324.

Lead 314 connects to a string of parallel resistors and diodes, whichconnect to a lead 338' (or a lead 338 at the top of the string).Specifically, a resistor 326 is connected in parallel with a diode 328,a resistor 330 in parallel with a diode 332, and a resistor 334 inparallel with a diode 336. Diodes 328, 332, and 336 are oriented toconvey positive charge current to charge trigger capacitor 340;resistors 294, 326, 330, and 334 are relatively high-value resistorsarranged to balance the voltage distribution across the plurality ofseries-connected trigger circuits 288 in respect to the voltage acrosssolid state switches 350.

Pulse transformer 306 includes a secondary winding 352a, which isinductively coupled with primary winding 304a and a secondary winding352b inductively coupled with primary winding 304b. The anode of a diode354a is connected to one end of secondary winding 352a; similarly, theanode of a diode 354b is connected to secondary winding 352b. A resistor356a extends between the cathode of diode 354a and a lead 365a that isconnected to the other end of secondary winding 352a. A resistor 356b issimilarly connected in respect to a lead 365b and secondary winding352b. A resettable circuit breaker 358 is provided between the commonnode at the cathode of diode 354a and resistor 356a, and the gate of SCR360a. However, since only one such resettable circuit breaker isrequired for each optical trigger circuit 288, the common node at thecathode of diode 354b and resistor 356b is directly connected to thegate of SCR 360b.

Each snubber circuit 368 includes a diode 372a connected in parallelwith a resistor 374a. The cathode of diode 372a and one end of resistor374 are connected by a lead 370 to the cathode of diode 362a in solidstate switch 350a, and thus to solid state switch 350b in the abovesolid state switch (if any) in the string. If at the top of the stringof solid state switches 350, lead 370 connects to reactive compensationcapacitor 112₁. The anode of diode 372a and the other end of resistor374a are connected to a resistor 376a, which is in series with acapacitor 378a. Similarly, a diode 372b, resistor 374b, resistor 376b,and a capacitor 378b are provided for protection of SCR 360b and diode362b. A lead 364b connects capacitor 378b to SCR 360b and diode 362b inswitch 350b. Resistors 366a and 366b divide the blocking voltage equallyacross the SCR/diode pairs (SCRs 360a)/diode 362a and SCR 360b/diode362b). Resistors 366a and 366b also provide a discharge path forcapacitor 378a around the portion of the snubber circuit for SCR 360aand diode 362a. Likewise, a resistor 366b provides a discharge path forcapacitor 378b and is connected across the lower portion of snubbercircuit 368.

Optically triggered switch driver 110' operates in three states,including a charging state, a holding state, and a discharge state.During the first negative half cycle of potential on the distributionline 52 with which it is associated, it is in the charging state. Inthis state, current flows from ground through diodes 292, capacitor 324,and through diodes 328, 332, and 336 in each of the optical triggercircuits 288, to charge trigger capacitor 340. After energy reservoircapacitor 324 is charged in each optical trigger circuit, zener diode320, NPN transistor 322, and resistor 318 clamp the voltage developedacross energy reservoir capacitor 324 to a relatively small value. Ascurrent flows through them, LEDs 298 emit light, indicating thatoptically triggered switch driver 110' is in its charging state.

Once trigger capacitor 340 has been charged to the negative peak voltageon line 52, the charging process stops as all of the diodes thatpreviously carried charging current become reversed biased. At the sametime that trigger capacitor 340 charges to the negative peak voltage onthe line, compensation capacitor 112 also charges to that voltage.Assuming that compensation capacitor 112 is not required forcompensation at this time, optically triggered switch driver 110' entersthe holding state. During the holding state, the voltage across theseries-connected string of energy reservoir capacitors 324 and theseries-connected string of solid state switches 350 varies between zeroand two times the absolute peak voltage (i.e., Voltage=V_(max) (1+sin(ωt)). It should be apparent that when the voltage on line 52 is at thepeak negative value, the voltage at the top of both series-connectedstrings is zero, but when the voltage on line 52 reaches a peak positivevalue, the voltage is twice the absolute peak value, since it includesthe negative peak voltage stored on trigger capacitor 340 andcompensation capacitor 112 and the peak positive voltage of the line atthat time.

Whenever a specific compensation capacitor 112 is required to compensatean inductive load, light pulses are supplied to each phototransistor 300in optically triggered switch driver 110' over optical fibers 106. Thislight pulse signal comprises the 30° window of 5 kHz pulses. Each of the5 kHz pulses in this light pulse envelope signal turns onphototransistors 300, thereby causing NPN transistors 312 to conduct.When NPN transistors 312 begin to conduct, the charge stored on energyreservoir capacitors 324 is conveyed through primary windings 304a and304b of each pulse transformer 306. These 5 kHz current pulses throughthe primary windings of the pulse transformer cause a corresponding 5kHz current to flow in secondary windings 352a and 352b, which isapplied to the gates of SCRs 360a and 360b, respectively. The gatecurrent turns on these SCRs in each of solid state switches 350,discharging trigger capacitor 340 through diode 344 and enabling theselected compensation capacitor 112 to offset the inductive load byproviding a path for positive current flow to ground.

Zener diode 310 and diode 302 comprise a "free wheeling circuit" thatcarries inductive current between each of the 5 kHz pulses in the 30°window. As noted above, the 30° window of 5 kHz pulses insures thatharmonic distortion or transients in the voltage on line 52 cannotprematurely turn off solid state switches 350 by causing a briefreversal in the direction of current flow through the SCRs. Diodes 354aand 354b block reverse gate current to SCRs 360a and 360b, respectively.

A current transformer 116 is disposed at the bottom of switch circuit114 to monitor the current between ground and compensation capacitor112, thereby providing a feedback signal that is supplied through lead117 (as shown in FIG. 1). This feedback signal is used to determinewhether the compensation capacitor is properly connected to providecompensation when the light pulse signal is supplied to trigger itsfunctional connection to line 52. Current transformer 116 thus detects afault condition if an expected current flow to compensation capacitor112 (i.e., reactive power compensation) does not occur.

From the preceding discussion, it should be apparent that the timerequired by local PC controller 70 for determining the appropriatereactive power compensation capacitance for each line 52 and forcontrolling the connection of the required capacitance to the line ismuch less than the duration of each cycle of the voltage waveform perphase. FIG. 15 shows several cycles of normalized voltage waveforms foreach of the three phases. Once local PC controller 70 determines thespecific reactive power compensator capacitors that should be connectedto lines 52, during interval A, a substantial time remains for dataacquisition. The time required by local PC controller 70 to determinethe required reactive power compensation is identified for each phase inthis FIG. by the intervals "A." The relatively longer remaining timeidentified as intervals "B" can be used for other tasks, such as dataacquisition. During intervals B, local PC controller 70 can digitize thesignals produced by the transducers in transducer instrumentation bank78 and can display the instantaneous or average values indicated bythose signals.

Local PC controller 70 does not directly control the times at which theselected compensation capacitors are connected to lines 52. Itsprincipal function is determination of the required compensation andselection of the specific compensation capacitors 112 that will providethe compensation. The remaining time is spent performing dataacquisition in a main program shown in FIG. 16A. Timing signals outputfrom timing waveform logic circuit 86 are operative to initiate aninterrupt at any time during the data acquisition sequence. In response,local PC controller 70 breaks out of the main program and is required tocarry out the control functions shown in FIG. 16B. FIG. 16C illustratesdetails of the data acquisition function performed within the mainprogram.

Referring initially to FIG. 16A, the main program starts at block 377and begins by initializing the system at block 379. During this step,the main program clears all variables and initializes any constants usedin data conversion. The main program then enters the data acquisitionroutine at a block 380, and continuously loops through this routineuntil an interrupt signal is received from timing waveform logic circuit86. The interrupt signal causes the local PC controller to perform acontrol interrupt in a block 381, so that it can carry out the controlfunctions in a block 382, discussed below in respect to FIG. 18B. Afterthe control functions are completed in block 382, local PC controller 70returns to the point in the data acquisition routine 380 at which it wasinitially interrupted.

Details of data acquisition routine 380 are shown in FIG. 16C beginningat a start block 380a. Local PC controller 70 receives the transduceranalog signals in a block 380b. These signals are input to an A-to-Dcircuit board (not shown) within the local PC controller and areconverted to digital data in a 380c. The digital data are buffered forsubsequent display and averaging by local PC controller 70 in a block380d.

In the event that a failure flag has been set, indicating that a faulthas occurred with one or more of the compensation capacitors 112 (basedon the feedback signal provided from current transformers 116), a block380e causes local PC controller 70 to save the current instantaneoustransducer data in a block 380f and to display a failure indication in ablock 380g. If the component failure flag has not been set, orsubsequent to display of a failure condition, the data corresponding tothe signals from each of the transducers are averaged in a block 380b.After accumulating and averaging a predefined number of values for eachsignal, an average value for each of the data signals produced by thetransducers is saved in a block 380i. However, decision block 380iavoids saving the current averaged value for the data prior to thepredefined number of values having been obtained. In a block 380k, theaveraged (or instantaneous data) are displayed. The program then loopsback to block 380b.

The control routine performed by local PC controller 70 starts in FIG.16B at a block 383. In a block 384, the specific mode in which local PCcontroller 70 is intended to operate is identified. Either a localoperator or a remote operator (using remote PC controller 72 connectedvia communications link 74) can effect operation of reactive powercompensator 50 in one of several different modes, including: (a) a VARcontrol mode in which a predefined VAR level is maintained on each line52, (b) a power factor control mode in which a predefined power factoris maintained on each line 52, (c) a line voltage control mode in whichthe voltage on lines 52 is maintained as a predefined level, and (d) atime control mode in which a predefined reactive power compensation isprovided in accordance with a time schedule or table (that is stored inmemory) indicating the time of day at which an inductive load connectedto the line should be compensated. The operator can also select a manualmode in which specific compensation capacitors 112 are connected to eachline.

In a block 385, the multiplexed potential signals and currenttransformer signals output from sample and hold circuit 95 (see FIG. 1)are input to the analog-to-digital conversion board within local PCcontroller 70. Digital values corresponding to these signals areprovided and can be stored for display during the data acquisitionroutine. In a block 386, the required compensation is determined. Thisdetermination may be made by computing the compensation based on thereactive current measured as the voltage on a phase crosses zero or canbe determined using a look-up table. The specific compensationcapacitor(s) required for each line 52 are determined in block 386, andin a block 387, a control signal is generated by local processcontroller 70 that selects the specific compensation capacitor(s) 112 tobe connected to each line 52 at the negative peak of the potential oneach of those lines. These determinations can be made as often as twiceeach cycle/phase.

In a block 388, local PC controller 70 checks the feedback signals fromcurrent transformers 116 to determine if the selected compensationcapacitors are in fact operatively connected to the lines. If a failureor fault is detected, the failed condition is reported by setting a failflag in a block 390.

In the event of a fault condition, local PC controller 70 can select analternate configuration of compensation capacitors 112. For example,assume that local PC controller 70 has determined that 400 KVARs ofreactive power compensation are required for A phase. However, a faultflag indicates that one of two 200 KVAR compensation capacitors 112previously selected has not been successfully connected to provide thiscompensation to line 52a. Assume also that 50 KVAR and 100 KVARcompensation capacitors 112 are available for use on A phase. In thiscase, local PC controller 70 selects the 50 KVAR and 100 KVARcompensation capacitors 112 in place of the failed compensationcapacitor, thereby providing the best available alternative compensation(a total of 350 KVAR). Triggering determination for the alternatecapacitor configuration occurs in a block 391 in the event that the failflag is set in block 390. Thereafter, in a block 392, the triggeringsignals used to selectively control specific compensation capacitors foreach line are transmitted. Alternatively, if in block 389 a failure isnote detected, the original compensation capacitor configuration istriggered in block 392. Following the completion of this controlroutine, the program returns to the data acquisition routine at the samepoint it was interrupted.

Microcontroller Reactive Power Compensator

A second embodiment of the reactive power compensator is shown in FIGS.17A, 17B, and 17C generally at reference numeral 50'. In reactive powercompensator 50', the potential signals on each of lines 52a, 52b, and52c are not used to develop timing signals as in reactive powercompensator 50. Instead, the timing signals are developed from aninternal timer, which is synchronized to the potential on the line, aswill be apparent from the following explanation.

Referring first to FIG. 17A, a filter printed circuit board 400 is shownthat includes components for processing current and voltage signals forone phase. A separate filter printed circuit board 400 is required foreach line 52a, 52b, and 52c, i.e., for each phase provided reactivepower compensation, but only one such board is shown. A signalindicative of the potential on one phase, e.g., line 52a, is applied toa step-down transformer 404, which reduces the level to approximately 12V AC. Likewise, a signal indicative of current flowing on that phase isapplied to a line current shunt resistor 406, producing a correspondingvoltage indicative of the line current. Optionally, load current can besimilarly monitored, and a signal indicative of the load current can besupplied to a load current shunt resistor 408 to develop a potentialcorresponding thereto. The feedback signal from current transformer 116,which is connected to monitor the current flowing to the compensationcapacitors 112 is applied to a capacitance current shunt resistor 410,likewise producing a potential indicative of that current.

The signal produced by step-down transformer 404 is applied to the inputof an amplifier circuit 412, which buffers the signal. Likewise, each ofthe signals indicative of current developed across the shunt resistors406, 408, and 410 are applied to amplifiers 414, 416, and 418,respectively, which amplify those signals to a more usable level. Thesignals produced by amplifiers 412 through 418 are connected to theinput of switched capacitance filters 422, 424, 426, and 428. Thesefilters remove most of the harmonic distortion from the signals suppliedby the amplifiers so that generally only the fundamental 60 Hz frequencyremains. using a 6 kHz reference signal supplied by a 6 kHz generator420 over a lead 423. The 6 kHz generator may comprise a phase-lockedloop or other oscillator (not separately shown). The filtered signalsindicative of line voltage, line current, load current, and the filteredfeedback signals (from the compensation capacitor CT) are respectivelyprovided on leads 448, 450, 452, and 454. In addition, the signal outputfrom amplifier circuit 412 is applied to a 60 Hz interrupt generator436, which produces an interrupt signal that is output on a lead 446.

After it is filtered, a signal indicative of potential output fromswitch capacitance filter 422 is applied to the input of a 30° windowcircuit 343 through a lead 430 and also supplied as an output on a lead448. The 30° window circuit produces a square wave on a lead 444 that isapproximately 30° wide and begins at about the point at which thepotential signal is at its negative peak.

As shown in FIG. 17B, reactive power compensator 50' includes acontroller 442. This controller carries out all required timingfunctions and processing to determine and selectively connect therequired compensation capacitor(s) 112 for a single phase. A generallyconventional power supply 440 is also included to provide variousvoltages used by the components of reactive power compensator 50'.Controller 442 receives the interrupt signal from filter printed circuitboard 440 via lead 446, which is connected to the interrupt port of thecontroller. The interrupt signal is generated each time that thepotential signal output from amplifier circuit 412 (in FIG. 17A) passesthrough zero in a positive direction and is used to synchronizecontroller 442 to the voltage waveform on the phase for which itcontrols reactive power compensation. That interrupt signal is used inconnection with an internal timer having a time base referenced to thefrequency of a quartz crystal 466. Quartz crystal 466 and a capacitor468 are connected to crystal time base inputs of controller 442 andprovide a very accurate frequency reference used by it to determine thetime at which the reactive power compensation should be computed andconnected. For example, based upon the interrupt signal, controller 442samples the signal indicative of the current in line 52 at a computedtime corresponding to the zero crossing of the potential waveform.Controller 442 determines the current based on the signal supplied onlead 450, which is connected to one of its data ports.

Controller 442 comprises a CPU, an 8-bit analog-to-digital converter,timer, multiplexer, and includes both random access memory (RAM) andread only memory (ROM), Several such devices are commercially availablefrom different manufacturers. Using its built-in, analog-to-digitalconverter, controller 442 digitizes the signals on leads 450, 452, and454. By comparing the line current with the load current, i.e., bycomparing the signals on leads 450 and 452 (assuming that an optionalload current CT 496, as shown in FIG. 17C, is being used), controller442 can detect a self-excitation condition in which the load isproducing current. This condition may arise when one or morecompensation capacitors 112 are connected to provide compensation if aswitch (not shown) is opened on lines 52, allowing an inductive load tostart resonantly exciting the line. Optionally, the signal indicative ofload current determined by optional load CT 496 can be used fordetermining the required reactive power compensation instead of thesignal indicative of line current.

Since controller 442 also receives a signal indicative of the potentialon line 52 via lead 448, it can readily detect an over voltage resonantcondition on the line and in response, select a different reactive powercompensation (or none) to reduce the voltage. Control of line voltagerepresents one of several modes noted above in which controller 442operates. The mode of operation is set by the operator using a modeswitch 470, which is connected to controller 442 by a lead 472.

A transmit receive bus 482 connects controller 442 to an optional localPC 488 via leads 484 and 486. Data supplied by controller 442 can thusbe transmitted to and displayed on local PC 488. Selection of the modein which controller 442 operates can also be accomplished by controlsignals applied to controller 442 over leads 484 and 486 from the localPC. Communication of control signals between local PC 488 and controller42 is effected over leads 490. Optionally, a remote computer 494,connected by a data link 492 to the local PC, can supply control signalsto set the mode of operation or to define the required line voltage,power factor, or VAR level for the connected phase. Remote computer 494can also interrogate the local PC to determine if a fault condition hasoccurred in respect to the reactive power compensation.

A watchdog timer circuit 474 is provided to check for an output pulsefrom controller 442 at least once each 20 milliseconds. In the eventthat the pulse is not supplied to watchdog timer circuit 474 over a lead476 within this time frame, a reset signal is automatically supplied tocontroller 42 over a lead 480. Lead 480 is also attached to a manualreset switch 478. Accordingly, an operator can initiate a manual resetof controller 442 by closing manual reset switch 478.

FIG. 19 illustrates the watchdog timer circuit, which includes a NANDgate 530, that is connected to lead 476. The pulse supplied bycontroller 442 over lead 476 is applied to both inputs of NAND gate 530,setting its output to a logic level 0. A capacitor 532 is connected tothe output of NAND gate 530. When the output is at a logic level 0, theopposite side of capacitor 532 charges with current supplied from the 5V DC supply through a resistor 536 and a lead 534. The charge oncapacitor 532 reverse biases a diode 538, causing the inputs of a NANDgate 540, which are connected to the anode of diode 538, to go to alogic level 0. As a result, the output of NAND gate 540 is set to alogic level 1, which is transmitted through a diode 542, cancelling thecharge that has built up on a capacitor 546. Capacitor 546 is connectedto the cathode of diode 542 by a lead 544; the other side of capacitor546 connects to the +5 V DC supply. A resistor 548 is also connected tothe cathode of diodes 542 controls the rate at which capacitor 546charges, thereby controlling the logic level applied to both inputs of aNAND gate 550. A logic level 1 that is produced when a pulse propagatesthrough diode 542 to the inputs of NAND gate 550 causes a logic level 0to appear on its output.

The output of NAND gate 550 is connected by a lead 552 to the input of aNAND gate 554. Assuming that a pulse was not provided by controller 442,the output of NAND gate 550 is a logic level 1, producing a logic level1 on the output of NAND gate 554. A resistor 560 conducts the output ofNAND gate 554 to its other input via a lead 445. A series-connectedresistor 464 and a diode 562 are connected in parallel with resistor560, the anode of diode 562 being connected to lead 556. A capacitor 558is connected between ground and lead 556. A logic level 1 output on NANDgate 554 thus charges capacitor 558 through resistor 560, until a logiclevel 1 appears on both inputs of NAND gate 554, changing its output toa logic level 0. The logic level 0 on the output of NAND gate 554 isconveyed by a lead 566 through a resistor 568 to manual reset switch 478and is connected to the reset port on controller 442 through lead 480.After resetting controller 442, the voltage on capacitor 558 dischargesthrough diode 562 and resistor 564, changing the level on lead 566 backto a logic level 1.

Referring back to FIG. 17B, a plurality of lead 458 are connected tooutput ports B0 through B3 on controller 442 and convey control signalsto a trigger and logic circuit 456. In addition, the 30° window signalfrom the filter printed circuit board is applied to trigger and logiccircuit 456 via lead 44. In response to these control signals and the30° window signal, trigger and logic circuit 456 produces controlsignals which are conveyed over leads 460 and applied to an opticaldriver and transmitter 462.

Optical driver and transmitter 462 produces light signals that areconveyed over optical fibers 464 to selectively switch the compensationcapacitors selected as appropriate for providing the requiredcompensation to one of lines 52. Each optical fiber 464 conveys thelight signal used to trigger solid state switches 350 to connect theselected compensation capacitor to the line.

Details of trigger and logic circuit 456 and optical driven andtransmitter circuit 462 are shown in FIG. 18. Leads 458a, 458b, 458c,and 458d convey control signals that are applied to one input of NORgates 510a, 510b, 510c, and 510d, respectively, in trigger and logiccircuit 456. The other input to these NOR gates is provided by lead 444,which carries the 30° window pulse signal. However, the control signalssupplied over leads 460 and the 30° window pulse signal supplied on lead444 are inverted. As a result, NOR gates 510 have a logic level 1 outputonly if both inputs are at logic level 0, i.e., when the control signalselects a compensation capacitor during the 30° window. The 30° windowsignal is redundant, insuring that a compensation capacitor is nottriggered to connect to line 52 other than during the 30° following thenegative peak voltage of the potential waveform on that line.

The output signals from NOR gates 510 are supplied to the base of NPNtransistors 514a, 514b, 514c, and 514d through series resistors 512a,512b, 512c, and 512d, respectively. The emitters of NPN transistors 514are each connected to ground, and their collectors are each connected toresistors 516 and light emitting diodes 518, which are in series. Inaddition, the emitters of NPN transistors 514 are also connected toresistors 520 and light emitting diodes 522, which are also in series,but are in parallel with each pair of resistors 516 and diodes 518.Light emitting diodes 518 provide a visual indication that a specificcompensation capacitor 112 has been selected, while light emittingdiodes 522 transmit the light signal through optical fibers 464a, etc.required to trigger conduction through solid state switches 350.

FIG. 17C illustrates how optical fiber 464a is connected to an opticalsplitter 500 that divides the light signal propagating through opticalfiber 464a into a plurality of light signals that are supplied throughoptical fibers 502 to optically triggered switch driver 110'.Alternatively, switch driver 110 can be used in reactive powercompensator 50'. The light signals supplied through optical fibers 502simultaneously trigger each of the SCRs in the solid state switches toconduct, connecting the selected compensation capacitor 112 so that itscompensation is provided to line 52a, as shown in FIG. 17C. Similarly,each of the other compensation capacitors available are selectivelycontrolled by optical signals propagating over other optical fibers 464to other optical splitters (not shown), to compensate an inductive load498, which is connected to line 52a. In addition, each of the two otherphases, lines 52b and 52c, are similarly separately provided anappropriate reactive power compensation by selectively controlling thecompensation capacitance connected to those lines.

Reactive power compensator 50' has several advantages over reactivepower compensator 50. Since each phase is controlled in respect totiming signals derived from the voltage waveform on that phase, it isnot necessary that all three phases be operational to develop timingsignals, as is the case in reactive power compensator 50. Furthermore,since the timing is controlled in respect to an internal timer incontroller 442, a substantial simplification and reduction in the numberof components required is effected. Controller 442 also benefits fromthe inclusion of watchdog timer circuit 474 to insure that it isoperating properly. Since all of the timing events are developed insoftware in respect to the internal timer, controller 442 can easily bemodified by changing the program logic used to control it. Local PC 488is not required for determining reactive power compensation; however, itcan be used for data acquisition, if desired.

The program logic implemented by controller 442 is disclosed in FIGS.20A and 20B. The main program logic implemented by controller 442 startsat a block 580. In a block 582, controller 442 initializes the system,resetting all the variables to zero. Subsequently, in a decision block584, the program determines if local PC 488 has provided a command, suchas a change in operating mode. If so, decision block 584 branches to ablock 586, which processes that command. Thereafter, or if a commandfrom local PC 488 has not been received, the main program loops back tocheck again for a PC command. When the manual mode is selected, theoperator can use the local PC to select specific compensation capacitors112 that controller 442 connects to the line. In this mode, thecontroller does not select or determine the required compensation likeit does in the automatic mode. At any time during the processing of acommand from the local PC, an interrupt can be initiated in response tothe interrupt signal input on lead 446. If an interrupt occurs, theappropriate control action is taken in a block 590; thereafter, thecontroller returns to the main loop at the point it was interrupted.

In FIG. 20B, the control logic implemented each time that an interruptsignal occurs on lead 446 is illustrated. Following a start block 592,the operating mode of the reactive power compensator is checked in amode selection block 596. A command input from local PC 488 can effectmodification of the mode selection manually determined by mode switch470 (in FIG. 17B). Thus, for example, the operator can use local PC 488to select a VAR, PF, line voltage, or time schedule control mode. In ablock 598, the system variables comprising voltage, line current, andthe feedback signal indicative of the charge current flowing into thereactive compensation capacitor are input to controller 442. In a block600, controller 442 carries out an analog-to-digital conversion,developing corresponding digital signals, which are used in a block 602to determine the required compensation, preferably using a look-up tablein memory. In a block 604, controller 442 generates the triggeringcommand that is output through leads 458, as shown in FIG. 17B.

Based upon the amplitude of the feedback signal indicative of chargecurrent supplied to the compensation capacitor (if previously connectedto provide compensation) over lead 454, controller 442 determineswhether a failure or fault has occurred in a decision block 606. If thefeedback signal fails to match an expected reactive power compensationcurrent, a failure is detected. If a selected compensation capacitor112, or its associated solid state switches 350 (shown in FIG. 17C) havefailed, controller 442 branches to a block 610, which provides thetriggering signals for a best available alternative compensationcapacitor configuration. If a failure has not occurred, or followingselection of the alternate configuration, the controller determineswhether it is time to provide the trigger signals on leads 458 in adecision block 612. As explained above, these trigger signals arelogically combined with the 30° window signal on lead 444 in trigger andlogic circuit 456 to control production of the light signals thatselectively activate connection of each compensation capacitor 112 tothe line). If not, controller 442 continues to loop until it determinesthat sufficient time has elapsed since the interrupt signal occurred forthe potential on the associated phase to reach the negative peak level.At that point, in a block 614, the controller transmits triggeringsignals over leads 458, which cause the appropriate reactive powercompensation capacitance to be connected to one of the lines 52.

While the present invention has been disclosed in respect to severalpreferred embodiments, those of ordinary skill in the art willappreciate that further modifications can be made thereto consistentwith the claims that follow below. Accordingly, the scope of theinvention should not in any way be limited by the description of thepreferred embodiments, but instead, should be determined entirely byreference to the claims.

The embodiments of the invention in which an exclusive property orprivilege is claimed are defined as follows:
 1. A reactive powercompensating system, comprising:a. an electrical current sensor thatproduces a current signal corresponding to an instantaneous value of anelectrical current supplied through a line to an inductive load, theelectrical current generally varying periodically at a fundamentalfrequency; b. a voltage sensor that produces a potential signalcorresponding to an instantaneous voltage on the line, the potentialsignal varying according to a generally periodic cycle at thefundamental frequency; c. filter means, connected to receive the currentsignal, for producing a filtered current signal from which any harmonicsof the fundamental frequency that are present in the current signal aresubstantially filtered out; d. processor means, connected to receive thepotential signal and the filtered current signal, for determining areactive power compensation for the inductive load as a function of thefiltered current signal when the potential signal is at a predefinedpoint in its periodic cycle and operative to produce a switching signalto select that reactive power compensation; e. a plurality ofcapacitors, each selectively connectable to compensates reactance on theline; and f. switching means, connected to the plurality of capacitorsand connected to receive the switching signal from the processor means,for selectively connecting the capacitors to provide the reactive powercompensation determined by the processor means in response to theswitching signal, the reactive power compensation being substantiallyfree of errors that would otherwise be caused by the harmonics of thefundamental frequency present in the electrical current in the line. 2.The reactive power compensation system of claim 1, wherein the processormeans are selectively operated in one of a manual mode, an automaticmode, and a time control mode.
 3. The reactive power compensation systemof claim 2, wherein while operating in the automatic mode, the processormeans are operative to provide reactive power compensation so as toselectively control reactive volt amperes, the voltage of the line, or apower factor associated with the line.
 4. The reactive powercompensation system of claim 1, wherein the switching means areoperative to connect the capacitors to provide the reactive powercompensation only when an absolute value of the voltage on the line isat a maximum, as often as twice during each periodic cycle of thevoltage.
 5. The reactive power compensation system of claim 1, whereinthe switching means are operative to connect the capacitors to providethe reactive power compensation only when an electrical current flowthrough the switching means is initially substantially zero as theswitching means connect the capacitors.
 6. The reactive powercompensation system of claim 1, wherein the filter means are connectedto receive the potential signal and are further operative tosubstantially filter out harmonics of the fundamental frequency that arepresent from the potential signal, producing a filtered potentialsignal.
 7. The reactive power compensation system of claim 1, whereinthe processor means include means for sampling the filtered currentsignal for a predetermined portion of the periodic cycle prior to thepotential signal reaching its redefined point in the periodic cycle. 8.The reactive power compensation system of claim 7, wherein thepredefined point in the periodic cycle occurs when the voltage on theline is equal to zero, the processor means being operative to sample andhold the filtered current signal at that instant to determine thereactive power compensation.
 9. The reactive power compensation systemof claim 1, further comprising feedback means for monitoring thereactive power compensation provided by the capacitors and producing afeedback signal indicative thereof that is supplied to the processormeans.
 10. The reactive power compensation system of claim 9, whereinthe feedback means comprise a plurality of current transformers, each ofwhich is connected to measure a reactive power compensation currentprovided by one of the capacitors, and in response thereto, producingthe feedback signal, the processor means using the feedback signal todetermine if the reactive power compensation being supplied by thecapacitors is substantially equal to the required reactive powercompensation determined by the processor means.
 11. The reactive powercompensation system of claim 10, wherein the processor means detects amalfunction in the switching means or one of the capacitors in responseto the feedback signal failing to match an expected reactive powercompensation, and upon detecting a malfunction, selectively causesconnection of an alternative capacitor to the line to provide thereactive power compensation using a different configuration ofcapacitors than used before the malfunction.
 12. The reactive powercompensation system of claim 10, wherein in response to the potentialsignal, the processor means protects against an over voltage on theline.
 13. The reactive power compensation system of claim 1, furthercomprising means for extending the time during which the switchingsignal is provided so that voltage variations on the line do not cause apremature interruption of a charge current flowing to the capacitorsthrough the switching means.
 14. The reactive power compensation systemof claim 13, wherein the means for extending the time comprise means forproducing an envelope of pulses, the pulses occurring at a frequencysubstantially higher than the fundamental frequency of voltage on theline.
 15. A reactive power compensating system for compensating areactive load drawing power from multiple phases of a supply,comprising:a. a plurality of electrical current sensors, each of whichis connected to sense a generally periodically varying electricalcurrent supplied to the reactive load on a different one of the phases,producing a current signal corresponding to said electrical current; b.a voltage sensor connected to sense a generally periodically varyingvoltage on each of the phases, producing a plurality of potentialsignals, each potential signal corresponding to the voltage on one ofthe phases; c. reactive power sensing means, connected to receive thecurrent signal and the potential signal for each phase, for determininga separate reactive power compensation for each phase, each of which canbe different, as required to compensate each phase for the reactive loadconnected to that phase, and further operative to produce switchingsignals to select the reactive power compensation for each phase; d. aplurality of capacitors assembled in arrays, each array being associatedwith one of the phases, each of the capacitors in the arrays beingselectively connectable to provide at least a portion of the reactivepower compensation required for one of the phases; and e. switchingmeans, electrically connected to the plurality of capacitors andconnected to receive the switching signals for the reactive powersensing means, for selectively connecting the capacitors to provide theseparate reactive power compensation independently determined for eachphase by the reactive power sensing means, in response to the switchingsignals.
 16. The reactive power compensating system of claim 15, whereinthe reactive power sensing means comprise processor means fordetermining the reactive power compensation for each phase as a functionof the current signal at a predetermined point in a cycle of thepotential signal and for controlling the switching means using theswitching signals to provide the required reactive power compensationdetermined for each phase at a subsequent time in the cycle.
 17. Thereactive power compensating system of claim 16, wherein for each phase,the processor means are operative to determine the reactive powercompensation as often as twice each cycle of the potential signal, andoperative to cause the switching means to connect the capacitorsrequired to provide the reactive power compensation determined as oftenas twice each cycle.
 18. The reactive power compensating system of claim16, wherein the processor means are selectively operable in one of amanual mode, an automatic mode, and a time control mode.
 19. Thereactive power compensating system of claim 16, wherein the processormeans are selectively operable to determine and to control on each phaseone of:a. a volt-ampere-reactive level; b. the voltage; and c. a powerfactor associated with the phase.
 20. The reactive power compensatingsystem of claim 15, wherein the reactive power sensing means comprisefilter means, connected to receive the current signal and the potentialsignal for each phase, for producing a filtered current signal and afiltered potential signal for each phase from which any harmonics of afundamental frequency are substantially filtered out.
 21. The reactivepower compensating system of claim 15, wherein the voltage sensorcomprises a plurality of transformer primary windings, each of theprimary windings being connected to receive a potential corresponding tothe voltage on one of the phases, and secondary windings, the secondarywindings providing the potential signals for the phases, so that aphasal relationship between the potential signals defines an intervalprior to the predetermined point in the cycle of the potential signalduring which the current signal is sampled.
 22. The reactive powercompensating system of claim 16, wherein the voltage sensor comprises aplurality of voltage transformers, each connected to one of the phasesand operative to produce one of the potential signals, and wherein theprocessor means are operative to determine the predetermined point andthe subsequent time in the cycle for each phase as a function of boththe potential signal and a predefined time interval.
 23. The reactivepower compensating system of claim 15, wherein the switching meanscomprise a plurality of solid state switches connected in a plurality ofseries strings, the series string being activated in response to theswitching signal to connect one of the capacitors to provide at leastpart of the reactive power compensation required for one of the phases.24. The reactive power compensating system of claim 23, wherein thereactive power sensing means provide the switching signal to the solidstate switches to effect the reactive power compensation required forone of the phases only when an initial electrical current through thesolid state switches is substantially zero as the solid state switchesare activated.
 25. The reactive power compensating system of claim 23,wherein the switching means further comprise oscillator means forproviding pulses at a frequency substantially higher than that of afundamental frequency of the voltage on the phases, and wherein theswitching signal is in the form of an envelope of the pulses, the pulsesin the envelop repetitively gating the solid state switches so that anydistortion in the voltage does not cause a premature interruption of acharge current flowing through the solid state switches to thecapacitors.
 26. The reactive power compensating system of claim 15,further comprising feedback means for sensing the reactive powercompensation actually provided by each capacitor and producing feedbacksignals indicative thereof used to verify proper operation of thesystem.
 27. The reactive power compensating system of claim 26, whereinthe reactive power sensing means use the feedback signals to determineif the switching means have malfunctioned, and if so, effect a bestavailable alternative configuration of the capacitors to provide thereactive power compensation.
 28. The reactive power compensating systemof claim 15, wherein the reactive power sensing means further comprisemeans for protecting each of the phases against an over voltagecondition and against self-excitation by an inductive load, in respectto the reactive power compensation provided by the system.
 29. A systemfor compensating reactive power loads in an alternating current powersystem having at least one phase, comprising:a. voltage monitoring meansfor monitoring the voltage in each phase of the power system; b.synchronization means for synchronizing to each phase in the powersystem without regard for any harmonics of a fundamental frequencypresent, and producing at least one synchronization signal in respect toeach of the phases; c. current monitoring means for monitoring thecurrent in each phase of the power system; d. triggering means forproducing triggering signals, each triggering signal being used toselect a specific reactive power compensation; e. processor means,connected to the voltage monitoring means, the current monitoring means,and the synchronization means for:i. determining a reactive current ineach phase when the voltage in that phase is at a predeterminedsynchronization level; ii. determining a reactive power compensation foreach phase, based on the reactive current determined in (i); and iii.controlling production of the triggering signals by the triggeringmeans; and f. compensation means, responsive to the trigger signals, forapplying the reactive power compensation selected by the triggersignals, as determined by the processor means, independently to eachphase.
 30. The system of claim 29, further comprising means forfiltering out harmonic distortion of the current.
 31. The system ofclaim 29, further comprising means for filtering out harmonic distortionof the voltage.
 32. The system of claim 29, wherein the synchronizationlevel is independent of any frequency drift of the voltage on thephases.
 33. The system of claim 29, wherein the processor means areselectively operable in a manual mode, an automatic mode, or a timecontrol mode.
 34. The system of claim 29, wherein the synchronizationmeans comprise a circuit that produces the synchronization signals inresponse to a phasal relationship between the voltages on the phases,the synchronization signals being used in determining both the reactivepower compensation required for each phase and a time when that reactivepower compensation is connected to each phase.
 35. The system of claim29, wherein the synchronization means comprise:a. a plurality of voltagetransformers, each connected to one of the phases and operative toproduce a potential signal; b. filter means for filtering outsubstantially all harmonics of the fundamental frequency, producing afiltered potential signal for each phase; and c. a zero crossingdetector that produces the synchronization signal for each phase as afunction of the filtered potential signal.
 36. The system of claim 29,wherein the processor means comprise a sample and hold circuit thatresponds to the synchronization means to being sampling the current ineach phase upon the occurrence of one synchronization signal and holdsthe current sampled when another synchronization signal for that phaseoccurs.
 37. The system of claim 29, wherein the compensation meanscomprise a plurality of capacitors that are selectively connected to thephase to provide the reactive power compensation determined by theprocessor means.
 38. The system of claim 37, further comprising meansfor monitoring operation of the compensation means, producing a feedbacksignal indicating the extent of the reactive power compensation beingprovided by the compensation means.
 39. The system of claim 29, whereinthe switching means are operative to protect against a partial failureof the switching means by reconfiguring the compensation means toprovide a best available reactive power compensation.
 40. The system ofclaim 29, wherein the switching means are operative to connect thecompensation means to the phases in response to the triggering signalindicating that the voltage on the phases has reached an absolute peakvalue, whereby an electrical current flow through the switching means asthe compensation means are connected is initially substantially zero.41. The system of claim 40, wherein the switching means include means torepetitively retrigger the switching means, so that variations in thevoltage on the phase do not affect provision of the compensation.
 42. Anadaptive reactive power compensation system for compensating reactivepower loads in an alternating current power system having at least onephase, comprising:a. monitoring means for monitoring the voltage in eachphase of the power system; b. synchronization means for synchronizing tothe voltage on each phase in the power system, producing asynchronization signal in respect to each of the phases; c. currentmonitoring means for monitoring the current in each phase of the powersystem; d. triggering means for producing a triggering signal for eachphase; e. processor means, connected to the voltage monitoring means,the current monitoring means, and the synchronization means for:i.determining a reactive current in each phase when the voltage on thatphase is at a predetermined synchronization level; ii. determining adesired reactive power compensation for each phase a function of thereactive current; and ii. controlling production of the triggeringsignal by the triggering means to effect the desired reactive powercompensation; f. a plurality of capacitors, each selectively connectedto provide reactive power compensation to one of the phases; and g. aplurality of switching blocks, each of which is associated with one ofthe phases, each switching block being connected to the triggering meansand responsive to the triggering signal so that an appropriatecapacitance can be connected by the switching block to each phase toprovide the desired reactive power compensation determined by theprocessor means, the triggering signal enabling said capacitance to beconnected at an appropriate time, each capacitor including means forsampling a charge current flowing to the capacitor and producing aclosed loop feedback signal indicative thereof, the processor meansusing the closed loop feedback signal to verify that the appropriatereactive power compensation is being supplied to each phase.
 43. Thesystem of claim 42, wherein the processor means are operative to detecta failure of a component in the system if the closed loop feedbacksignal differs from an expected value.
 44. A method of compensatingreactive power, comprising the steps of:a. producing a current signalcorresponding to an electrical current supplied through a line to aninductive load, the electrical current generally varying periodically ata fundamental frequency; b. sensing a voltage on the line to produce apotential signal that varies in a generally periodic cycle at thefundamental frequency; c. filtering the current signal to produce afiltered current signal from which any harmonics of the fundamentalfrequency that are present in the current signal are substantiallyreduced; d. determining a reactive power compensation for the inductiveload based on the filtered current signal when the potential signal isat a predefined point in its periodic cycle; and e. selectivelyconnecting an appropriate capacitance to provide the reactive powercompensation determined for the line, the reactive power compensationbeing substantially free of an error that would otherwise be caused bythe harmonics of the fundamental frequency present in the electricalcurrent in the line.
 45. The method of claim 44, further comprising thestep of selectively compensating reactive power in one of a manual mode,an automatic mode, and a time control mode.
 46. The method of claim 45,wherein while operating in the automatic mode, the reactive powercompensation is provided to selectively control one of: the voltage ofthe line, reactive volt amperes caused by the load on the line, and apower factor associated with the line.
 47. The method of claim 44,wherein the appropriate capacitance is connected only at an instant intime when an initial charge current for the capacitance is substantiallyzero.
 48. The method of claim 44, further comprising the steps offiltering the potential signal to substantially reduce any harmonics ofthe fundamental frequency that are present.
 49. The method of claim 44,further comprising the steps of sampling the filtered current signal fora predetermined portion of the periodic cycle that is prior to when thepotential signal reaches the predefined point in its periodic cycle, andthen determining a value for the filtered current signal at that instantto determine the reactive power compensation.
 50. The method of claim44, further comprising the step of monitoring the reactive powercompensation provided by the capacitance to determine if the appropriatereactive power compensation is thereby being provided.
 51. The method ofclaim 44, further comprising the steps of detecting a malfunction of thesystem and providing an alternative configuration of capacitance toachieve the reactive power compensation should a malfunction occur. 52.The method of claim 44, further comprising the step of maintaining theconnection of the capacitance to provide the reactive power compensationrequired, even though transient distortion occurs in the voltage on theline.
 53. A method of compensating for a reactive load that draws powerfrom a multi-phase supply, comprising the steps of:a. sensing agenerally periodically varying electrical current on each of the phases,producing a plurality of current signals corresponding thereto; b.sensing a generally periodically varying voltage on each of the phases,producing a plurality of potential signals corresponding thereto; c. ina manner unaffected by any harmonic distortion that may be present onthe phases, separately determining a reactive power compensationrequired for each phase to compensate each phase for the reactive loadconnected to that phase, wherein the reactive power compensation foreach phase may be different; d. assembling a plurality of capacitors inarrays, each array being associated with one of the phases, each of thecapacitors in the arrays being selectively connectable to provide atleast a portion of the reactive power compensation required for one ofthe phases; and
 3. selectively connecting the capacitors to provide thereactive power compensation determined for each phase.
 54. The method ofclaim 53, wherein the reactive power compensation is determined for eachphase as a function of the current signal at a predetermined point in acycle of the potential signal on the phase, and the capacitors areconnected to provide the reactive power compensation when the potentialsignal reaches a different point in the cycle.
 55. The method of claim53, wherein for each phase, the reactive power compensation isdetermined as often as twice each cycle of the potential signal on thephase, and the capacitors required to provide the reactive powercompensation determined are connected as often as twice each cycle. 56.The method of claim 53, further comprising the step of selectivelycompensating the reactive power on each phase to control one of:a. avolt-ampere-reactive level on each phase; b. The voltage on each phase;and c. a power factor associated with each phase.
 57. The method ofclaim 53, further comprising the steps of filtering the current signaland the potential signal for each phase, producing a filtered currentsignal and a filtered potential signal, respectively, from which anyharmonics of a fundamental frequency are substantially eliminated. 58.The method of claim 53, further including the step of monitoring thereactive power compensation provided to producing a feedback signalindicative thereof, for each capacitor.
 59. The method of claim 58,wherein the feedback signals are used to determine if a malfunction hasoccurred, and if so, further comprising the step of providing a bestavailable alternative configuration of the capacitors to effect thereactive power compensation.
 60. The method of claim 53, furthercomprising the step of protecting each of the phase against an overvoltage condition and against self-excitation by an inductive load, inrespect to the reactive power compensation provided by the capacitors.